﻿using UnityEngine.Playables;
using UnityEngine;

namespace Pvp.Timeline
{
    public class RoleAnimationStateBehaviour : BaseRolePlayableBehaviour
    {
        public string stateName;

        public override void ProcessFrame(Playable playable, FrameData info, object playerData)
        {
            if (entity.animatorStateName != stateName)
            {
                entity.animatorStateName = stateName;
            }
        }
    }
}



